@layout("/common/_form.html",{js:["/assets/modular/system/sysDistrict/sysDistrict_edit.js"]}){

<form class="layui-form" id="sysDistrictForm" lay-filter="sysDistrictForm"
      xmlns:padding-left="http://www.w3.org/1999/xhtml">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="districtId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">上级名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="parentId" name="parentId" type="hidden">
                            <input id="pName" name="pName" placeholder="请输入区域上级编号"  type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">区划名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="districtName" name="districtName" placeholder="请输入区域名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">区划等级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="districtLevel" name="districtLevel" placeholder="请输入区域等级" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                        <label class="layui-form-block"  style="padding-left:100px" ><span style="color: red;">1：省；2：市；3：区/县；4：镇/乡/街道</span></label>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">区划编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="districtCode" name="districtCode" placeholder="请输入地区编码" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                        <label class="layui-form-block" style="padding-left:100px" ><span style="color: red;">国家规定区划编码,只需要9位</span></label>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sort" name="sort" placeholder="请输入排序" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}